//package com.home.zqt.platform.domain;
//
//import javax.persistence.*;
//
///**
// * @author soon
// * @description: 员工权限关系表
// * @date 2019-05-21 11:27
// **/
//@Entity
//@Table(name = "mj_employee_authority_ref", uniqueConstraints = {@UniqueConstraint(columnNames = {"company_id", "employee_id", "authority_id"})})
//public class MJEmployeeAuthorityRef extends BaseRefDomain {
//
//    @ManyToOne(targetEntity = MJCompany.class)
//    @JoinColumn(name = "company_id")
//    @Column(nullable = false)
//    private MJCompany company;
//
//    @ManyToOne(targetEntity = MJEmployee.class)
//    @JoinColumn(name = "employee_id")
//    @Column(nullable = false)
//    private MJEmployee employee;
//
//    @ManyToOne(targetEntity = MJAuthority.class)
//    @JoinColumn(name = "authority_id")
//    @Column(nullable = false)
//    private MJAuthority authority;
//
//    public MJCompany getCompany() {
//        return company;
//    }
//
//    public void setCompany(MJCompany company) {
//        this.company = company;
//    }
//
//    public MJEmployee getEmployee() {
//        return employee;
//    }
//
//    public void setEmployee(MJEmployee employee) {
//        this.employee = employee;
//    }
//
//    public MJAuthority getAuthority() {
//        return authority;
//    }
//
//    public void setAuthority(MJAuthority authority) {
//        this.authority = authority;
//    }
//}
